package com.engine4cloud.tdf.education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.engine4cloud.tdf.common.data.web.response.PageInfo;
import com.engine4cloud.tdf.common.data.web.response.Params;
import com.engine4cloud.tdf.education.dto.create.PsychologicalCounsellingAttendCreateDTO;
import com.engine4cloud.tdf.education.dto.query.PsychologicalCounsellingAttendQuery;
import com.engine4cloud.tdf.education.dto.result.PsychologicalCounsellingAttendResultDTO;
import com.engine4cloud.tdf.education.dto.update.PsychologicalCounsellingAttendUpdateDTO;
import com.engine4cloud.tdf.education.entity.PsychologicalCounsellingAttendEntity;

import java.util.List;

public interface PsychologicalCounsellingAttendService extends IService<PsychologicalCounsellingAttendEntity> {

    PageInfo<PsychologicalCounsellingAttendResultDTO> pageList(Params page, PsychologicalCounsellingAttendQuery dto);

    PsychologicalCounsellingAttendResultDTO getById(Long id);

    void batchCreate(String code, List<PsychologicalCounsellingAttendCreateDTO> attendList);

    void batchUpdate(String code, List<PsychologicalCounsellingAttendCreateDTO> attendList);

    Boolean updateBatch(List<PsychologicalCounsellingAttendUpdateDTO> dto);
}